package com.blog.dto;

import java.sql.Timestamp;

public class User { //数据库表名是user
	private int user_id	;
	private String username =null;
	private String password ;
	private String email;
	private int superstate ;
	private Timestamp add_time;
	private Timestamp last_login;
	private String last_ip;
	private Timestamp delete_at;
	
	public User() {}
	
	public Timestamp getDelete_at() {
		return delete_at;
	}
	public void setDelete_at(Timestamp delete_at) {
		this.delete_at = delete_at;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getSuperstate() {
		return superstate;
	}
	public void setSuperstate(int superstate) {
		this.superstate = superstate;
	}
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
	public Timestamp getLast_login() {
		return last_login;
	}
	public void setLast_login(Timestamp last_login) {
		this.last_login = last_login;
	}
	public String getLast_ip() {
		return last_ip;
	}
	public void setLast_ip(String last_ip) {
		this.last_ip = last_ip;
	}
	@Override
	public String toString() {
		return username;
	}
}

